For example, to create an OK button, drag a CommandButton onto the form, set its Caption property to OK, and set its Default property to True.
Note When you drag a control onto the Control Toolbox, you only transfer the advanced property values. Any code or Outlook property values you have written for that control do not transfer with the control. You must write new code for the icon or copy code from the control on the form to the control on the Control Toolbox.